$("#submission").click(function () {
    var id = $("#idValue").val();
    var ekyNumber = $("#ekyNumber").val();
    var outpatientName = $("#outpatientName").val();
    if (ekyNumber == null || ekyNumber == "") {
        alert("请填写E看牙病历号！");
        return;
    }
    if (outpatientName == null || outpatientName == "") {
        alert("请填写到店门诊！");
        return;
    }
    $.ajax({
        url: Feng.ctxPath + "/customer/oneKeyLightenUp",
        type: "post",
        data: {
            "id": id,
            "ekyNumber":ekyNumber,
            "outpatientName":outpatientName
        },
        success: function (data) {
            Feng.success('操作成功!');
            window.parent.ReservationsRecordTable.search();
            parent.layer.close(parent.layer.getFrameIndex(window.name))
        }
    });
})